package com.ctshk.rpc.tour.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctshk.rpc.tour.base.CustomBaseMapper;
import com.ctshk.rpc.tour.entity.SeriesTripScheduleDefaultCostGroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 团期默认模板-团综合成本 Mapper 接口
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-21
 */
public interface SeriesTripScheduleDefaultCostGroupMapper extends CustomBaseMapper<SeriesTripScheduleDefaultCostGroup> {

    @Update("update t_series_trip_schedule_default_cost_group set is_deleted = 1 where schedule_id=#{scheduleId}")
    int deleteByScheduleId(@Param("scheduleId")Long scheduleId);
}
